package com.ruoyi.shop.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 商户管理对象 che_shop
 * 
 * @author ruoyi
 * @date 2024-06-05
 */
public class CheShop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 商户名 */
    @Excel(name = "商户名")
    private String businessName;

    /** 营业执照号码 */
    private String number;

    /** 经营区域 */
    private String area;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 商家介绍 */
    private String intro;

    /** 审核状态（0未审核，1已通过，2已拒绝） */
    @Excel(name = "审核状态", readConverterExp = "0=未审核，1已通过，2已拒绝")
    private Long audit;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;

    /** 门面照片 */
    private String shopImage;

    /** 营业执照 */
    private String licence;

    /** 身份证正面 */
    private String cardFront;

    /** 身份证反面 */
    private String cardBack;

    /** 余额（钱包） */
    private Long money;

    /** 负责人手机 */
    @Excel(name = "负责人手机")
    private String phone;

    /** 负责人姓名 */
    private String responsibleName;

    /** 密码 */
    private String password;

    /** 负责人身份证号 */
    private String cardid;

    /** 店名 */
    private String shopName;

    /** 每周营业时间 */
    private String week;

    /** 开始营业时间 */
    private Date startTime;

    /** 结束营业时间 */
    private Date endTime;

    /** 经度 */
    private String longitude;

    /** 纬度 */
    private String latitude;

    /** 门店总星级评分 */
    private Long rate;

    /** 门店总销售数量 */
    private Long total;

    /** 逻辑删除 */
    private Long deleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBusinessName(String businessName) 
    {
        this.businessName = businessName;
    }

    public String getBusinessName() 
    {
        return businessName;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setIntro(String intro) 
    {
        this.intro = intro;
    }

    public String getIntro() 
    {
        return intro;
    }
    public void setAudit(Long audit) 
    {
        this.audit = audit;
    }

    public Long getAudit() 
    {
        return audit;
    }
    public void setCreatTime(Date creatTime) 
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() 
    {
        return creatTime;
    }
    public void setShopImage(String shopImage) 
    {
        this.shopImage = shopImage;
    }

    public String getShopImage() 
    {
        return shopImage;
    }
    public void setLicence(String licence) 
    {
        this.licence = licence;
    }

    public String getLicence() 
    {
        return licence;
    }
    public void setCardFront(String cardFront) 
    {
        this.cardFront = cardFront;
    }

    public String getCardFront() 
    {
        return cardFront;
    }
    public void setCardBack(String cardBack) 
    {
        this.cardBack = cardBack;
    }

    public String getCardBack() 
    {
        return cardBack;
    }
    public void setMoney(Long money) 
    {
        this.money = money;
    }

    public Long getMoney() 
    {
        return money;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setResponsibleName(String responsibleName)
    {
        this.responsibleName = responsibleName;
    }

    public String getResponsibleName()
    {
        return responsibleName;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setCardid(String cardid) 
    {
        this.cardid = cardid;
    }

    public String getCardid() 
    {
        return cardid;
    }
    public void setShopName(String shopName) 
    {
        this.shopName = shopName;
    }

    public String getShopName() 
    {
        return shopName;
    }
    public void setWeek(String week) 
    {
        this.week = week;
    }

    public String getWeek() 
    {
        return week;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }
    public void setRate(Long rate) 
    {
        this.rate = rate;
    }

    public Long getRate() 
    {
        return rate;
    }
    public void setTotal(Long total) 
    {
        this.total = total;
    }

    public Long getTotal() 
    {
        return total;
    }
    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("businessName", getBusinessName())
            .append("number", getNumber())
            .append("area", getArea())
            .append("address", getAddress())
            .append("intro", getIntro())
            .append("audit", getAudit())
            .append("creatTime", getCreatTime())
            .append("shopImage", getShopImage())
            .append("licence", getLicence())
            .append("cardFront", getCardFront())
            .append("cardBack", getCardBack())
            .append("money", getMoney())
            .append("phone", getPhone())
            .append("responsibleName", getResponsibleName())
            .append("password", getPassword())
            .append("cardid", getCardid())
            .append("shopName", getShopName())
            .append("week", getWeek())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("rate", getRate())
            .append("total", getTotal())
            .append("deleted", getDeleted())
            .toString();
    }
}
